package com.bw.es.feign;

import com.bw.common.domain.Shop;
import com.bw.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @Author：HaoYunde
 * @Package：com.bw.es.feign
 * @Project：hyd-boot
 * @name：RemoteShopService
 * @Date：2024/6/17 11:28
 */
@FeignClient("hyd-list")
public interface RemoteShopService {
    @GetMapping("list/findList")
    public Result<List<Shop>> findList();
}
